#!/usr/bin/env python
# -*- coding:utf-8 -*-

# file:do_flask1.py
# author:张世航
# datetime:2024/12/4 15:39
# software: PyCharm
"""
this is function  description 
"""
# import module your need

from flask import Flask,render_template
#实例化Flask类
app=Flask(__name__)

@app.route("/")
def index():
    # return"First Web Is Coming!"
    return render_template("index.html")

@app.route("/get/news")
def get_news():
    return render_template("get_news.html")

@app.route("/date/list")
def data_list():
    return render_template("date_list.html")
@app.route("/register")
def register():
    return render_template("register.html")


if __name__=='__main__':
    app.run()


